<template>
	<view class="basic-container" :style="[$u.addStyle(customStyle)]">
		<view class="basic-container__content">
			<slot></slot>
		</view>

	</view>
</template>

<script>
	export default {
		className: "basic-container",
		props:{
			class: String,
			customStyle: [Object, String]
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.basic-container {
		padding: 15rpx 45rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #FFFFFF;
		border-radius: 18rpx;
		box-sizing: border-box;
		overflow: hidden;

		&__content {
			width: 100%;
			flex: 1
		}
	}
</style>
